package com.zdy.springbootmvcconfig.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Deyou
 * @Date: 2021/4/12
 */
@RestController
public class TestController {
    @RequestMapping("/test")
    public String test(){
        System.out.println("拦截器测试");
        return "拦截器测试success";
    }
}
